import 'dart:convert';

GradeComment gradeCommentFromJson(String str) => GradeComment.fromJson(json.decode(str));

String gradeCommentToJson(GradeComment data) => json.encode(data.toJson());

class GradeComment {
    GradeComment({
        this.grade,
        this.comment,
    });

    String? grade;
    String? comment;

    factory GradeComment.fromJson(Map<String, dynamic> json) => GradeComment(
        grade: json["grade"],
        comment: json["comment"],
    );

    Map<String, dynamic> toJson() => {
        "grade": grade,
        "comment": comment,
    };
}